package com.llk.pool.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import springfox.documentation.annotations.ApiIgnore;

/**
 * Created by zhou on 2017/5/4.
 */
@Controller
@RequestMapping("/admin/")
@ApiIgnore
public class AdminIndexController {

//    public String index(@RequestParam(value = "name", required = false, defaultValue = "World") String name, Model model){
//        model.addAttribute("name",name);
//        return "greeting";
//    }

    @RequestMapping(value = "index",produces = "text/html")
    public String index(){
        return "admin/index";
    }

    @RequestMapping(value = "data",produces = "text/html")
    public String data(){
        return "admin/data";
    }



}
